<div class="easyui-layout" data-options="fit:true,border:false">
	<div data-options="region:'center',border:false" style="overflow: hidden;padding: 10px;">
			<div class="edit-btn" style="height:auto;margin-right:0px">
				<div/>
			</div>

  			<form method="post" class="main-form">		 	
			    <fieldset>		
				    <table>
						 <tr>
						    <th>捐赠事项</th>
							<td><input name="donation_item" id="bizno" placeholder="请输入编号" class="easyui-textbox easyui-validatebox" style="width:300px" type="text" data-options="editable:true"/></td>
							<th>供应商</th>
							<td>
								<input id="supply_name" class="easyui-textbox" name="supply_name" style="width:300px;" data-options="editable:true"/>						
							</td>	
						 </tr>
						 <tr>
						    <th>接受科室</th>
							<td><input name="accept_depart" id="litigant_deptname" type="text" class="easyui-textbox" style="width:300px" data-options="editable:true"/></td>
						    <th>接受时间</th>
							<td><input name="accept_time" id="inquiry_date"  class="easyui-datebox easyui-validatebox" style="width:300px" type="text" data-options="editable:true"/></td>
						 </tr>
					</table>
				</fieldset>
			 </from>
			 
			 
				 <tr>
				     <th>&nbsp;&nbsp;</th>
				 </tr>
				 <tr>
					<td>
				    	<div id="inner-table-donation">
							<a href="javascript:void(0);" class="easyui-linkbutton function-btn" iconCls="icon-add" plain="true" >添加设备</a>
							<a href="javascript:void(0);" class="easyui-linkbutton function-btn" iconCls="icon-remove" plain="true">移除设备</a>
						</div>
						<div id="dg-inner-donation"/>
				    </td>		
				 </tr>	
				<tr><th>&nbsp;&nbsp;</th></tr>
			 		 
			<!--<form method="post" class="main-form">	
				 <fieldset>
					 <table>	 				  
						 <tr>
						    <th>协议</th>
							<td><input id="affirm_name" name="agreement" type="file"/></td>			
						 </tr>
						 <tr>
							<th>会议纪要</th>
							<td><input id="affirm_name" name="meeting" type="file"/></td>
						 </tr>		
					</table>			
				</fieldset>
				<input name="id" id="id"  type="hidden"/>		
			</form>
			-->	
			<div class="historics"/>
			</div>
</div>
<script>
requirejs(['editPage','supplyDonation','domReady!'],function(editPage,supplyDonation,doc){
	editPage.init({doc:doc,
		rootId:'panel-supply-donation',
		subSystemCode:'supply',
		moduleCode:'supplyDonation',
		editWindow:'supply-donation-win',
		initElement:supplyDonation.initElement,
		buttonExtends:supplyDonation.buttonExtends,
		beforeSubmit:supplyDonation.beforeSubmit,
		fieldSetting:supplyDonation.reCreateField})
});	
</script>
